multi-step error detection

多步错误检测